package com.imooc.mapper;

import com.imooc.my.mapper.MyMapper;
import com.imooc.pojo.ItemsComments;
import com.imooc.vo.MyCommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItemsCommentsMapperCustomer extends MyMapper<ItemsComments> {

    /**
     * 保存订单评论
     */
    void saveComments(Map<String, Object> paramsMap);


    /**
     * 查询用户评论
     * @param paramsMap
     * @return
     */
    List<MyCommentVO> queryMyComments(@Param("paramsMap") Map<String, Object> paramsMap);
}